<template>
  <div id="app">
    <div class="content">
      <div class="item-list">
        <router-link to="/shopmanage" style="display:flex">
          <img src="static/images/shop.png" width="20" height="20">
          <h3>餐饮商 <span>198</span></h3>
        </router-link>
        <router-link to="/addshop" class="addtext">添加</router-link>
      </div>
      <router-link to="/usergoodslist" class="item-list">
        <img src="static/images/ordernum.png" width="20">
        <h3>用户点菜数 <span>1980次</span></h3>
      </router-link>
      <router-link to="/userorder" class="item-list">
        <img src="static/images/ewm.png" width="20">
        <h3>扫码买单数 <span>980次</span></h3>
      </router-link>
      <router-link to="/billmanage" class="item-list">
        <img src="static/images/fp.png" width="20">
        <h3>发票管理</h3>
      </router-link>
      <br><br>
      <div class="item-list">
        <img src="static/images/set.png" width="20">
        <h3>设置</h3>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'index',
    data: function () {
      return {

      }
    }
  }
</script>

<style scoped>
  /* #app{
      position: absolute;
      height: 100%;
      background: #f6f6f6;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
  } */
  .content{
      padding:0.75rem;
  }
  .item-list{
      padding:1rem 0.75rem;
      margin-bottom:0.75rem;
      border:1px solid #ddd;
      border-radius:6px;
      display: flex;
      align-items: center;
      position: relative;
      background: #fff;
  }
  .item-list h3{
      color:#333;
      margin-left:0.75rem;
  }
  .item-list h3 span{
      color:#3cb034;
      margin-left:0.5rem;
  }
  .addtext{
      position: absolute;
      right: 0.75rem;
      color:#3cb034;
  }
</style>